package com.chagee.store.operation.api.request;

import com.chagee.store.operation.api.bo.FileBO;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author : hk
 * @Date : 2025/2/24
 */


@Data
@Accessors(chain = true)
public class SupplierRejectedRequest implements Serializable {

	/**
	 * 单据编号
	 */
	@NotNull(message = "单据编号不能为空")
	private String settlementNo;

	/**
	 * 供应商驳回原因
	 */
	@NotNull(message = "驳回原因不能为空")
	private String supplierRejectedReason;

	/**
	 * 供应商驳回附件
	 */
	@NotNull(message = "驳回附件不能为空")
	private List<FileBO> supplierRejectedAttachment;

	public SupplierRejectedRequest() {
	}

	public SupplierRejectedRequest(String settlementNo, String supplierRejectedReason, List<FileBO> supplierRejectedAttachment) {
		this.settlementNo = settlementNo;
		this.supplierRejectedReason = supplierRejectedReason;
		this.supplierRejectedAttachment = supplierRejectedAttachment;
	}

	public String getSettlementNo() {
		return settlementNo;
	}

	public void setSettlementNo(String settlementNo) {
		this.settlementNo = settlementNo;
	}

	public String getSupplierRejectedReason() {
		return supplierRejectedReason;
	}

	public void setSupplierRejectedReason(String supplierRejectedReason) {
		this.supplierRejectedReason = supplierRejectedReason;
	}

	public List<FileBO> getSupplierRejectedAttachment() {
		return supplierRejectedAttachment;
	}

	public void setSupplierRejectedAttachment(List<FileBO> supplierRejectedAttachment) {
		this.supplierRejectedAttachment = supplierRejectedAttachment;
	}
}
